<DOCTYPE HTML>
<html class="reftest-wait">
<body>
<div style="overflow:hidden; border:1px solid black;">
  <div id="d" style="position:relative; left:10px; height:10px; background:blue;"></div>
</div>
<script>
function doTest() {
  d.style.left = "50px";
  document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>
